package com.biwano.swapmyjob.objects;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Link {

	private String login;
	private String action;
	private Long creationDate;
	private Long expirationDate;
	@Id
	private String id;
	
	public Link()
	{
		
	}
	
	public Link(String id,String login, String action, Long creationDate,
			Long expirationDate) {
		super();
		this.login = login;
		this.action = action;
		this.creationDate = creationDate;
		this.expirationDate = expirationDate;
		this.id = id;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public Long getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Long creationDate) {
		this.creationDate = creationDate;
	}
	public Long getExpirationDate() {
		return expirationDate;
	}
	public void setExpirationDate(Long expirationDate) {
		this.expirationDate = expirationDate;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	
}
